package top.yueyazhui.account.service;

import io.seata.rm.tcc.api.BusinessActionContext;

public interface AccountService {

    boolean prepare(String userId, Double money);

    boolean commit(BusinessActionContext businessActionContext);

    boolean rollback(BusinessActionContext businessActionContext);
}
